from selenium import webdriver
from selenium.webdriver.common.by import By
import time
 
# 创建一个webdriver.Chrome实例
driver = webdriver.Chrome()
driver.maximize_window()
 
# 访问指定网址
driver.get('http://www.techlabplt.com:8080/BD-PC/zhaopin.html')
time.sleep(2)

driver.find_element(By.XPATH, value='//*[@id="app"]/div[1]/div/div/form/input').send_keys(u'大数据')
driver.find_element(By.XPATH, value='//*[@id="app"]/div[1]/a').click()
